package cn.tedu.autoshow.website.mapper;

import cn.tedu.autoshow.website.pojo.entity.Banner;
import cn.tedu.autoshow.website.pojo.vo.BannerListItemVO;
import cn.tedu.autoshow.website.pojo.vo.BannerStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BannerMapper extends BaseMapper<Banner> {

    BannerStandardVO getStandardById(Long id);

    List<BannerListItemVO> list();

    List<BannerListItemVO> listByTypeId(Integer typeId);

}
